//
//  DirData.h
//

#import <Cocoa/Cocoa.h>


@interface DirData : NSObject
{
	NSString		*fullPath;
	NSString		*name;
	NSMutableArray	*childDirs;
	BOOL			showDotFolders;
}

- (id) initWithPath: (NSString *)path  showDotFolders:(BOOL)showDotFolders;
- (id) initWithName: (NSString *)nodeName  showDotFolders:(BOOL)showDotFolders;
- (void) setFullPath: (NSString*) path;
- (void) sortChildren;
- (NSComparisonResult) compareDirData:(DirData*) dd;
- (int) numberOfChildren;
- (DirData *) childAtIndex: (int) index;
- (NSString *) fullPath;
- (NSString *) name;

- (void) addChild:(DirData *) ddChild;

@end
